\usepackage[left=2.5cm, right=2cm, top=2.5cm, bottom=3cm]{geometry}
\usepackage{color}
\usepackage{graphicx}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{palatino}

\definecolor{GRIS}{cmyk}{0.7,0.6,0.5,0.3}
\definecolor{BLEU}{cmyk}{1,0.9,0.1,0}
\definecolor{GM-ASI}{cmyk}{0.6,0,0,0}
\definecolor{EP-MEKA}{cmyk}{0.3,1,0,0}
\definecolor{CP-MRIE}{cmyk}{0.3,0,1,0}
\definecolor{GCCD}{cmyk}{0,0.5,1,0}

\newcommand{\pageDeGarde}[5][mots-croises.png]{
\thispagestyle{empty}
\begin{picture}(0,0)
	\put(90,-390){\includegraphics[width=140mm]{images/{#1}}} %pour mettre une image de fond qui sera recouverte.
	\put(-90,-800){\includegraphics[width=220mm]{images/couverture.png}}
	\put(140,-650){\color{BLEU}{\begin{minipage}{12cm}\huge \huge #2 \\ \Huge \textbf{#3} \end{minipage}}}
	\put(-65,-650){\color{GRIS}\begin{minipage}{6.3cm} \Large \raggedleft Département \\ #4 \end{minipage}}
	\put(-75,-720){\color{GRIS}{\begin{minipage}{20cm} \raggedleft \Large #5\end{minipage}}}
\end{picture}
\newpage
\thispagestyle{empty}
\null
\newpage
}

\fancyhead[LE]{\begin{picture}(0,0) \put(-57,-30){\includegraphics[width=210mm]{images/header.png}}\end{picture}}
\fancyhead[LO]{\begin{picture}(0,0) \put(-72,-30){\includegraphics[width=210mm]{images/header.png}}\end{picture}}
\fancyhead[CO,CE]{}
\fancyhead[RO,RE]{}
\fancyfoot[LE]{\begin{picture}(0,0) \put(-143,-42){\includegraphics[width=280mm,height=30mm]{images/volutebas.png}} \end{picture}}
\fancyfoot[LO]{\begin{picture}(0,0) \put(-158,-42){\includegraphics[width=290mm,height=30mm]{images/volutebas.png}} \end{picture}}
\fancyfoot[RE,RO]{}
\fancyfoot[CE,CO]{\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
